package com.xinghen.scheduler.event.impl;

import com.xinghen.scheduler.domain.ScheduledTriggerLog;
import com.xinghen.scheduler.event.IListenerEvent;
import lombok.extern.slf4j.Slf4j;

/**
 * @author xinghen
 * @ClassName: DefListenerEvent
 * @Package: com.xinghen.scheduler.event.impl
 * @Description DefListenerEvent
 * @create 2017-12-08 17:27
 */
@Slf4j
public class DefListenerEvent implements IListenerEvent {
    @Override
    public void save(ScheduledTriggerLog scheduledTriggerLog) {
        log.info("----- DefListenerEvent.ScheduledTriggerLog -----> {}", scheduledTriggerLog.toString());
    }

    @Override
    public void delete(String fireInstanceId) {
        log.info("----- DefListenerEvent.delete -----> {}", fireInstanceId);
    }

    @Override
    public void clearScheduledTriggerLog() {
        log.info("----- DefListenerEvent.clearScheduledTriggerLog ----->");
    }

    @Override
    public void save(String saveLog) {
        log.info("----- DefListenerEvent.save -----> {}", saveLog);
    }

    @Override
    public void clearScheduledLog() {
        log.info("----- DefListenerEvent.clearScheduledLog ----->");
    }
}
